package com.ynsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ynsj.domain.AdminBank;
import com.baomidou.mybatisplus.extension.service.IService;
public interface AdminBankService extends IService<AdminBank>{

    /**
     * 分页查询银行卡信息
     * @param page
     * @param bankCard
     * @return
     */
    Page<AdminBank> findByPage(Page<AdminBank> page, String bankCard);

    /**
     * 启用/禁用银行卡信息
     * @param bankId
     * @param status
     * @return
     */
    boolean updateStatus(Long bankId, Integer status);

}
